-- GENERATED SPELL FOR [Webwood Venomfang] --


function spell0_1999(pUnit, Event) --@Web,n/a--
pUnit:FullCastSpellOnTarget(4167,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1999', 4000, 1)
end

function Sorts_1999(pUnit, Event)
local choix_sorts_1999 = math.random(0, 0)
if choix_sorts_1999 == 0 then
pUnit:RegisterEvent('spell0_1999', 1, 1)
end
end

function mob1999_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1999', math.random(1500, 3000), 1)
end

function mob1999_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1999_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1999_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1999, 1, 'mob1999_Action')
RegisterUnitEvent(1999, 2, 'mob1999_Leave')
RegisterUnitEvent(1999, 3, 'mob1999_Kill')
RegisterUnitEvent(1999, 4, 'mob1999_Die')
